module.exports = {
  "devServer": {
    "proxy": {
      "/api": {
        "target": "http://127.0.0.1:7001/api/v2/", //代理地址
        "ws": true,
        "changeOrigin": true,
        "pathRewrite": {
          "^/api": ""
        }
      }
    }
  },
  chainWebpack: (config) => {
    config
      .plugin('html')
      .tap((args) => {
        args[0].title = 'FengBlog';
        return args;
      });
  },
  assetsDir: 'static',
  parallel: false,
  publicPath: './',
}